package com.hui.entity;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 系统用户
 * Created by Liaoyunhui on 2017/9/23/023.
 */
public class SystemUser {

    @ApiModelProperty(value = "id", name = "id")
    private long id;
    @ApiModelProperty(value = "登录名", name = "userName", example = "17951@rongshutong.com")
    private String userName;
    @ApiModelProperty(value = "登录密码", name = "password", example = "123456")
    private String password;
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    @Override
    public String toString() {
        return "SystemUser{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", updateTime=" + updateTime +
                '}';
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
